package thread;

import java.util.concurrent.Callable;

/**
 * @Author: Crystal
 * @Date: 2019/5/13 15:59
 **/
public class MyCallable implements Callable<String> {

    public String call() throws Exception {
        String value = "test";
        System.out.println("Ready to work");
        Thread.currentThread().sleep(5000);
        System.out.println("task done");
        return value;
    }
}
